package com.haoxi.gateway.common;

public class INFOConst {
    public final static String SKYINFO_PARA_COMMON_ERROR_STRING = "{0} is error in {1}!";
    public final static String SKYINFO_CREATE_OBJECT_ERROR_STRING = "create {0} objcet unsuccessfully in {1}!";
    
    public final static String STATUS_SUCCESS = "0";
    
    public final static String STATUS_NEED_RESEND = "500";
    //号码类型，0--真实号码 1伪码
    
    public final static int TRUE_TYPE=0;
    public final static int FALSE_TYPE=1;
//    /*----------------------------------------------------------*/
//    /*------------begin以下是CMPP协议需要的常量---------------------*/
//    /*---------------add by martin 20060601---------------------*/
//    //？？这个不清楚，原代码未注释，以后分析后加上
//    public static final int MAX_QUE_LENGTH = 100;
//    //submit消息中内容字节数组的最大长度
//    public static final int MAX_MSG_CONTENT_LENGTH = 140;
//    //消息头的长度
//    public static final int MSG_HEAD_LENGTH = 12;
//    //CMPP_CONNECT消息体长度
//    public static final int MSG_CONNECT_BODY_LENGTH = 27;
//    //CMPP_CONNECT_RESP消息体长度
//    public static final int MSG_CONNECT_REP_BODY_LENGTH = 21;
//    //CMPP¬_SUBMIT_RESP消息体长度
//    public static final int MSG_SUBMIT_REP_BODY_LENGTH = 12;
//    //CMPP_QUERY消息体长度
//    public static final int MSG_QUERY_BODY_LENGTH = 27;
//    //CMPP_QUERY_RESP消息体长度
//    public static final int MSG_QUERY_REP_BODY_LENGTH = 51;
//    //状态报告消息体长度
//    public static final int MSG_STATUS_REPORT_LENGTH = 60;
//    //CMPP_DELIVER_RESP消息体长度
//    public static final int MSG_DELIVER_REP_BODY_LENGTH = 12;
//    //CMPP_CANCEL消息体长度
//    public static final int MSG_CANCEL_BODY_LENGTH = 8;
//    //CMPP_CANCEL_RESP消息体长度
//    public static final int MSG_CANCEL_REP_BODY_LENGTH = 1;
//    //CMPP_ACTIVE_TEST消息体长度
//    public static final int MSG_ACTIVETEST_BODY_LENGTH = 0;
//    //CMPP_CONNECT_RESP消息体长度
//    public static final int MSG_ACTIVETEST_REP_BODY_LENGTH = 1;
//    public static final byte RESERVED = 0;
//
    public static final String CMPP30_VERSION = "3.0";
    
    public static final String SGIP12_VERSION = "1.2";
    public static final String SMGP13_VERSION = "1.3";
}
